﻿using System;
using System.Collections.Generic;

namespace JoyfulHomeJourney.BackEnd.Infrastructure.EFCore
{
    public partial class SysAccounts
    {
        public SysAccounts()
        {
            ActionLogs = new HashSet<ActionLogs>();
            CarEvents = new HashSet<CarEvents>();
            CustomerOrders = new HashSet<CustomerOrders>();
            Employees = new HashSet<Employees>();
            LoginLogs = new HashSet<LoginLogs>();
            OfflineOrders = new HashSet<OfflineOrders>();
            OnlineCustomerDeductions = new HashSet<OnlineCustomerDeductions>();
            OnlineCustomerDiscounts = new HashSet<OnlineCustomerDiscounts>();
            OnlineCustomerInfosCiReceiveManNavigation = new HashSet<OnlineCustomerInfos>();
            OnlineCustomerInfosCiSendManNavigation = new HashSet<OnlineCustomerInfos>();
            PointsLogs = new HashSet<PointsLogs>();
            ProductReviews = new HashSet<ProductReviews>();
            ReviewLikes = new HashSet<ReviewLikes>();
            ShippingAddresses = new HashSet<ShippingAddresses>();
            ShoppingCars = new HashSet<ShoppingCars>();
            SysCarSupplies = new HashSet<SysCarSupplies>();
            SysDictionaryTypes = new HashSet<SysDictionaryTypes>();
            TaskCategories = new HashSet<TaskCategories>();
            TaskHistorys = new HashSet<TaskHistorys>();
            Tasks = new HashSet<Tasks>();
        }

        public string AId { get; set; }
        public string AName { get; set; }
        public string AAvatar { get; set; }
        public string AAccount { get; set; }
        public int AIsBan { get; set; }
        public string APassword { get; set; }
        public string ASalt { get; set; }
        public string ARole { get; set; }
        public DateTime ACreateTime { get; set; }

        public virtual SysCarShops SysCarShops { get; set; }
        public virtual SysCustomers SysCustomers { get; set; }
        public virtual ICollection<ActionLogs> ActionLogs { get; set; }
        public virtual ICollection<CarEvents> CarEvents { get; set; }
        public virtual ICollection<CustomerOrders> CustomerOrders { get; set; }
        public virtual ICollection<Employees> Employees { get; set; }
        public virtual ICollection<LoginLogs> LoginLogs { get; set; }
        public virtual ICollection<OfflineOrders> OfflineOrders { get; set; }
        public virtual ICollection<OnlineCustomerDeductions> OnlineCustomerDeductions { get; set; }
        public virtual ICollection<OnlineCustomerDiscounts> OnlineCustomerDiscounts { get; set; }
        public virtual ICollection<OnlineCustomerInfos> OnlineCustomerInfosCiReceiveManNavigation { get; set; }
        public virtual ICollection<OnlineCustomerInfos> OnlineCustomerInfosCiSendManNavigation { get; set; }
        public virtual ICollection<PointsLogs> PointsLogs { get; set; }
        public virtual ICollection<ProductReviews> ProductReviews { get; set; }
        public virtual ICollection<ReviewLikes> ReviewLikes { get; set; }
        public virtual ICollection<ShippingAddresses> ShippingAddresses { get; set; }
        public virtual ICollection<ShoppingCars> ShoppingCars { get; set; }
        public virtual ICollection<SysCarSupplies> SysCarSupplies { get; set; }
        public virtual ICollection<SysDictionaryTypes> SysDictionaryTypes { get; set; }
        public virtual ICollection<TaskCategories> TaskCategories { get; set; }
        public virtual ICollection<TaskHistorys> TaskHistorys { get; set; }
        public virtual ICollection<Tasks> Tasks { get; set; }
    }
}
